package com.mentaleye.biz;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.mentaleye.bean.StudentDisciplineRecordBean;
import com.mentaleye.dal.model.StudentDisciplineRecord;
import com.mentaleye.util.CommonPage;
import com.mentaleye.util.CommonResult;

public interface StudentDisciplineRecordBiz {
    CommonResult insertRecord(StudentDisciplineRecordBean recordBean);
    
    CommonResult insertByList(List<StudentDisciplineRecordBean> beanList);
    
    CommonResult updateRecord(StudentDisciplineRecordBean recordBean);
    
    List<StudentDisciplineRecordBean> getBeanList();
    
    List<StudentDisciplineRecord> getList();
    
    Map<String,Object> getMapByKey(int id);
    
    void getListByPage(CommonPage page);
    
    List<Map<String, Object>>getListByMap(Map<String, Object> map);
    
    List<Map<String,Object>> getClassDisciplineByMap(Map<String,Object> map);
    
    CommonResult deleteByRecord(long recordId);
    
    CommonResult deleteByList(List<Long> idList);
    
    CommonResult deleteByWriteTime(Date writeTime);
    
    boolean isAttendance(long recordId);
}
